package com.itrencai.d6_set;

public class SetDemo2haxizhi {
    public static void main(String[] args) {
        //获取对象的哈希值并确认
        String name="rencai";
        System.out.println(name.hashCode());
        System.out.println(name.hashCode());
        String name1="rencai2";
        System.out.println(name1.hashCode());
        System.out.println(name1.hashCode());
    }
}
